
import Vue from "vue";
import App from "./App";
//关闭vue生产提示
Vue.config.productionTip = false

new Vue({
    el:'#app',
    render: h => h(App),
//    创建全局事件总线
    beforeCreate() {
        //安装全局事件总线 $bus
        Vue.prototype.$bus = this
    }
})